package com.ruoyi.system.service;


import com.ruoyi.system.domain.JiajiaProxyApplication;
import com.ruoyi.system.domain.JiajiaUser;
import com.ruoyi.system.domain.vo.TransferBillsVo;
import org.springframework.web.bind.annotation.RequestBody;

import javax.servlet.http.HttpServletRequest;
import java.util.Map;



public interface ApiPayNotifyService  {



    /**
     * 微信小程序支付回调接口
     */
    public Map<String, String> wxItemPayNotice( String xmlData) ;
    /**
     * 微信商城支付回调接口
     */
    public Map<String, String> wxMallPayNotice( String xmlData) ;

    public Map<String, String> wxProxyPayNotice( String xmlData);

    /**
     * 退款通知
     */

    public String refundNotify(HttpServletRequest request);
    /**
     * 微信小程序充值回调接口
     */

    public Map<String, String> wxmallPayChongZhiNotice( String xmlData) ;

    /**
     * 微信支付回调接口
     */
    public Map<String, String> wxPayNotice( String xmlData) ;

    /**
     * 退款通知
     */

    public String wxRefundNotify(HttpServletRequest request) ;

    /**
     * 微信充值回调接口
     */
    public Map<String, String> wxPayChongZhiNotice(@RequestBody String xmlData) ;


    //alipay异步通知调用地址 支付宝支付订单回调
    public String aliAppPayNotify(HttpServletRequest request);

    //alipay异步通知调用地址 支付宝充值回调

    public String aliAppPayChongZhiNotify(HttpServletRequest request) ;


    public String mallRefundNotify(HttpServletRequest request);


    public String batchTransferNotice(HttpServletRequest request);


    public void transferAccounts(JiajiaUser jiajiaUser, JiajiaProxyApplication jiajiaProxyApplication);

    public void  transferBills(TransferBillsVo transferBillsVo);
}